package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author hql
 * @date 2019-12-05 12:17
 */
public interface OrdersettingDao {
     Integer ifHave(@Param("date") Date date);

     void updateOrdersetting(OrderSetting data);

     void  addOrdersetting(OrderSetting data);

      List<OrderSetting>  findAllOrdersetting(@Param("begin") String begin, @Param("end") String end);

      Integer  ifHaveOrderDate(@Param("date") Date orderDate);

     void updateNumber(OrderSetting orderSetting);

     void  addOrder(OrderSetting orderSetting);

      OrderSetting findOrdersetting(String orderDate);

     void update2(OrderSetting orderSetting);
}
